package com.adingxiong.cft.design.bridge;

/**
 * @ClassName Circle
 * @Description TODO
 * @Author xiongchao
 * @Date 2021/1/12 10:27
 **/
public class Circle extends Shape {


    private int radius,x,y;

    public Circle(int x,int y ,int radius,RrawAPI drawAPI){
        super(drawAPI);
        this.x = x;
        this.y = y;
        this.radius = radius;
    }

    @Override
    public void draw() {
        drawAPI.drawCicle(radius,x,y);
    }
}
